package com.bit.springblogdemo.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
public enum RsultCodeEnum { //这是枚举类  统一结果处理
    SUCCESS(200),
    FAIL(-1);   //实际开发中分的更细致
    @Setter @Getter
    private int code;
}
